﻿/*
	Author : Zeus2
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.DrugTrade.Model
{
    /// <summary>
    /// 实体类
    /// </summary>
    [Serializable()]
    [HZ.Table(TableName = "TB_COMPANYINFO")]
    public class CompanyInfo
    {
        /// <summary>
        /// 企业编号
        /// </summary>
        
        public string CompanyID { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public string CompanyName { get; set; }
        /// <summary>
        /// 企业联系电话
        /// </summary>
        public string TelNo { get; set; }
        /// <summary>
        /// 手机号码(应急联系)
        /// </summary>
        public string CellNo { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactPerson { get; set; }
        /// <summary>
        /// 企业法人
        /// </summary>
        public string LayMan { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 传真号码
        /// </summary>
        public string Fax { get; set; }
        /// <summary>
        /// 审核状态  0 未审核 1 已审核通过 2 未审核通过
        /// </summary>
        public int? CheckStatus { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string CheckPerson { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public System.DateTime? CheckDate { get; set; }
        /// <summary>
        /// 总资产(万元)
        /// </summary>
        public int? TotalFund { get; set; }
        /// <summary>
        /// 固定资产(万元)
        /// </summary>
        public int? FixFund { get; set; }
        /// <summary>
        /// 网址
        /// </summary>
        public string Website { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 是否GSP认证
        /// </summary>
        public bool? IsGSP { get; set; }
        /// <summary>
        /// GSP认证编号
        /// </summary>
        public string GSPCode { get; set; }
        /// <summary>
        /// GSP认证有效期
        /// </summary>
        public System.DateTime? GSPTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 经营许可证
        /// </summary>
        public string BusinessCertificate { get; set; }
        /// <summary>
        /// 经营许可证有效期
        /// </summary>
        public System.DateTime? BusinessCertificateDate { get; set; }
        /// <summary>
        /// 经营范围
        /// </summary>
        public string BusinessRange { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public System.DateTime? AddTime { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string AddpersonID { get; set; }
        /// <summary>
        /// 被授权人
        /// </summary>
        public string Author { get; set; }
        /// <summary>
        /// 被授权人手机
        /// </summary>
        public string AuthorCell { get; set; }
        /// <summary>
        /// 营业执照号
        /// </summary>
        public string Permission { get; set; }
        /// <summary>
        /// 营业执照有效期至
        /// </summary>
        public System.DateTime? PermissionDate { get; set; }
        /// <summary>
        /// 营业执照年检日期
        /// </summary>
        public System.DateTime? PermissionCheckDate { get; set; }
        /// <summary>
        /// 仓库地址
        /// </summary>
        public string StoreHouseAddress { get; set; }
        /// <summary>
        /// 两年内有无生产假劣药记录
        /// </summary>
        public string Adulterant { get; set; }
        /// <summary>
        /// 企业组织机构代码证号
        /// </summary>
        public string Comcode { get; set; }
        /// <summary>
        /// 企业代码证有效期
        /// </summary>
        public System.DateTime? ComEndtime { get; set; }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string PostCode { get; set; }
        /// <summary>
        /// 注册地址
        /// </summary>
        public string RegistAddress { get; set; }
        /// <summary>
        /// 注册资金
        /// </summary>
        public double? RegisterFund { get; set; }
        /// <summary>
        /// 是否有经营不良当行为
        /// </summary>
        public string Devious { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string CheckReason { get; set; }
        /// <summary>
        /// 是否提交
        /// </summary>
        public int? IsSubmit { get; set; }
        /// <summary>
        /// 盟市审核配送企业信息状态
        /// </summary>
        public int? UnionCityCheckState { get; set; }
        /// <summary>
        /// 盟市审核配送企业信息
        /// </summary>
        public string UnionCityCheckPerson { get; set; }
        /// <summary>
        /// 盟市审核配送企业信息的时间
        /// </summary>
        public DateTime? UnionCityCheckDate { get; set; }
        /// <summary>
        /// 盟市审核配送企业信息不通过的原因
        /// </summary>
        public string UnionCityCheckReson { get; set; }
        public string CompanyType { get; set; } //企业类型
        public string Instruments { get; set; } //医疗器械许可证号
        public int? Permissionloogtime { get; set; }//营业执照长期
        public int? Businessloogtime { get; set; } //许可证长期
    }
}
